package entity;

import java.util.HashSet;
import java.util.Set;
/**
 * 类与集合之间的关系
 * @author lvjiaxuan
 *
 */
public class Department {

	private Integer did;
	private String dnameString;
	private String descc;
	
	private Set<Employee> employees = new HashSet<Employee>();
	
	public Set<Employee> getEmployees() {
		return employees;
	}

	public void setEmployees(Set<Employee> employees) {
		this.employees = employees;
	}

	public Integer getDid() {
		return did;
	}

	public void setDid(Integer did) {
		this.did = did;
	}

	public String getDnameString() {
		return dnameString;
	}

	public void setDnameString(String dnameString) {
		this.dnameString = dnameString;
	}

	public String getDescc() {
		return descc;
	}

	public void setDescc(String descc) {
		this.descc = descc;
	}

	public Department() {
		// TODO Auto-generated constructor stub
	}

}
